package com.uniinnovate.lanjingling.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.uniinnovate.lanjingling.utils.PageUtils;
import com.uniinnovate.lanjingling.entity.JobEntity;
import com.uniinnovate.lanjingling.utils.R;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author LianChuangTech
 * @email LianChuangTech@163.com
 */
public interface JobService extends IService<JobEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 搜索职位
     *
     * @param word
     * @return
     */
    R searchJob(@RequestParam("word") String word);

    /**
     * 根据id获取工作列表
     */
    R listJob(@RequestParam("id") Long id);
}

